package main

import "fmt"

func main() {
	var a int8 = 25
	var b int16 = 188
	fmt.Println(int16(a) + b)
	var c float32 = 29.78
	var d float64 = 38.29
	fmt.Println(float64(c) + d)
	var e int = 28
	var f float32 = 78.94
	fmt.Println(float32(e) + f)
	//溢出问题
	var g int8 = 58
	var k int16 = 97
	fmt.Println(int16(g) + k)
	fmt.Println(g + int8(k))
}
